package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @ClassName PortalApplyMatterQueryCondition
 * @Description TODO
 * @Author HeTao
 * @Date 2021/8/25 9:45
 * @Version 1.0
 **/
@Data
@ApiModel("门户结果公示查询对象")
public class PortalApplyMatterQueryCondition implements Serializable {

    private static final long serialVersionUID = 6084371054710333486L;

    @ApiModelProperty(value = "申请开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String applyStartTime;

    @ApiModelProperty(value = "申请结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String applyEndTime;

    @ApiModelProperty(value = "申请编号",required = false)
    private String applyNo;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;
}
